.card {
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(145deg, #ee7752 0%, #e73c7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
    overflow: hidden;
    color: #fff;
    letter-spacing: 1px;
    animation: scale-in-center 0.8s;
}

.card .left-bottom,
.card .right-top {
    position: absolute;
    width: 20%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: bold;
    background: linear-gradient(-45deg, #23a6d5 0%, #23d5ab 100%);
    transition: all 0.5s;
}
  
.card .left-bottom {
    top: 0;
    right: 0;
    border-radius: 0 15px 0 100%;
}

.card .right-top {
    bottom: 0;
    left: 0;
    border-radius: 0 100%  0 15px;
    span{
        opacity: 0;
    }
}
  
.card:hover .left-bottom,
.card:hover .right-top {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: all 0.5s;
    span{
        opacity: 1;
    }
}